
/*****************************************************************************
           C6502 Standard I/O Defines
******************************************************************************/

/* 'char', 'int', 'long' & 'double' printf with no formatting */

/*
#define  printf   nf_printf
#define  sprintf  nf_sprintf
#define  fprintf  nf_fprintf
*/

/* 'char', 'int' & 'long' printf */

/*
#define  printf   iprintf
#define  sprintf  isprintf
#define  fprintf  ifprintf
*/

/* 'char', 'int' & 'long' printf with no formatting */

/*
#define  printf   nf_iprintf
#define  sprintf  nf_isprintf
#define  fprintf  nf_ifprintf
*/

/* 'char' & 'int' printf with no formatting */

/*
#define  printf   nf_int_iprintf
#define  sprintf  nf_int_isprintf
#define  fprintf  nf_int_ifprintf
*/

/* 'char', 'int', 'long', 'float' & 'double' scanf with no set matching */

/*
#define  scanf    ns_scanf
#define  sscanf   ns_sscanf
#define  fscanf   ns_fscanf
*/

/* 'char', 'int' & 'long' scanf */

/*
#define  scanf    iscanf
#define  sscanf   isscanf
#define  fscanf   ifscanf
*/

/* 'char', 'int' & 'long' scanf with no set matching */

/*
#define  scanf    ns_iscanf
#define  sscanf   ns_isscanf
#define  fscanf   ns_ifscanf
*/

/* 'char' & 'int' scanf with no set matching */

/*
#define  scanf    ns_int_iscanf
#define  sscanf   ns_int_isscanf
#define  fscanf   ns_int_ifscanf
*/

/* Function prototypes for whatever printf and scanf are in use.  These */
/* prototypes must be used for proper operation.                        */

int printf (char *, ...);
int sprintf (char *, char *, ...);
int fprintf (int, char *, ...);

int nf_printf (char *, ...);
int nf_sprintf (char *, char *, ...);
int nf_fprintf (int, char *, ...);

int iprintf (char *, ...);
int isprintf (char *, char *, ...);
int ifprintf (int, char *, ...);

int nf_iprintf (char *, ...);
int nf_isprintf (char *, char *, ...);
int nf_ifprintf (int, char *, ...);

int nf_int_iprintf (char *, ...);
int nf_int_isprintf (char *, char *, ...);
int nf_int_ifprintf (int, char *, ...);

int scanf (char *, ...);
int sscanf (char *, char *, ...);
int fscanf (int, char *, ...);

int ns_scanf (char *, ...);
int ns_sscanf (char *, char *, ...);
int ns_fscanf (int, char *, ...);

int iscanf (char *, ...);
int isscanf (char *, char *, ...);
int ifscanf (int, char *, ...);

int ns_iscanf (char *, ...);
int ns_isscanf (char *, char *, ...);
int ns_ifscanf (int, char *, ...);

int ns_int_iscanf (char *, ...);
int ns_int_isscanf (char *, char *, ...);
int ns_int_ifscanf (int, char *, ...);

/* Function prototypes for character input and output */

putc (char, int);
putchar (char);

char getc (int);
char getchar ();



